package com.core.zyyz.pcmc.domain;

import com.core.common.annotation.Excel;
import com.core.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 数据权限对象 pcmc_data_permission
 *
 * @author core
 * @date 2024-10-17
 */
public class PcmcDataPermission extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据权限ID */
    private Long dataPermId;

    /** 权限名称 */
    @Excel(name = "权限名称")
    private String dataPermName;

    /** 说明 */
    @Excel(name = "说明")
    private String DESCRIPTION;

    /** 是否动态权限 */
    @Excel(name = "是否动态权限")
    private String isDynamic;

    public void setDataPermId(Long dataPermId)
    {
        this.dataPermId = dataPermId;
    }

    public Long getDataPermId()
    {
        return dataPermId;
    }
    public void setDataPermName(String dataPermName)
    {
        this.dataPermName = dataPermName;
    }

    public String getDataPermName()
    {
        return dataPermName;
    }
    public void setDESCRIPTION(String DESCRIPTION)
    {
        this.DESCRIPTION = DESCRIPTION;
    }

    public String getDESCRIPTION()
    {
        return DESCRIPTION;
    }
    public void setIsDynamic(String isDynamic)
    {
        this.isDynamic = isDynamic;
    }

    public String getIsDynamic()
    {
        return isDynamic;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dataPermId", getDataPermId())
                .append("dataPermName", getDataPermName())
                .append("DESCRIPTION", getDESCRIPTION())
                .append("isDynamic", getIsDynamic())
                .toString();
    }
}
